package hoaitt.vnu.edu.problem7;

import static org.junit.Assert.*;

import org.junit.Test;

public class FindPrimeNumberthTest {

	@Test
	public void testCheckPrime() {
		FindPrimeNumberth test = new FindPrimeNumberth();
	

		assertEquals(true, test.checkPrime(2));
		assertTrue(test.checkPrime(3));
		assertFalse(test.checkPrime(6));
		assertFalse(test.checkPrime(1147));
		
		

		assertEquals(true, test.checkPrime1(2));
		assertTrue(test.checkPrime1(3));
		assertFalse(test.checkPrime1(6));
		assertFalse(test.checkPrime1(1147));
	}
}
